package 最佳买卖股票时机含冷冻期;

/**
 * @author: AirMan
 * @date: 2025/5/16 11:04
 * @description:
 */
public class Test {
    public static void main(String[] args) {

        System.out.println(new Solution().maxProfit(new int[]{1,4,2}));

    }
}
